package com.yugao.fintech.antelope.auth.assembly;

import com.yugao.fintech.antelope.auth.model.entity.ExtLdp;
import com.yugao.fintech.antelope.auth.model.rqrs.ldp.ExtLdpResp;
import com.yugao.fintech.antelope.auth.model.rqrs.ldp.ExtLdpSaveReq;
import com.yugao.fintech.antelope.auth.model.rqrs.ldp.ExtLdpUpdateReq;
import org.mapstruct.Mapper;

/**
 * 外部身份提供者
 */
@Mapper(componentModel = "spring")
public interface ExtLdpAssembly {
  ExtLdpResp toExtLdpResp(ExtLdp source);
  
  ExtLdp toExtLdp(ExtLdpSaveReq source);

  ExtLdp toExtLdp(ExtLdpUpdateReq source);
}
